home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
Schatztruhe
/
Lotto
/
InstallLotto
next >
Wrap
Text File
|
1995-11-29
|
15KB
|
258 lines
(complete 0)
(set harddisk 0)
(if
(askbool
(prompt "Wo möchten Sie das Programm Lotto installieren?")
(help @askbool-help)
(choices "Auf Festplatte" "Auf Diskette")
)
(
; hard drive part
(set harddisk 1)
(set @default-dest
(askdir
(prompt "Bitte wählen Sie das Verzeichnis, in dem "
"Lotto installiert werden soll\n"
)
(help
"Sie müssen für die Installation das Verzeichnis "
"festlegen, in dem das Programm "
"Lotto installiert wird\n\n"
"Auf dem ausgewählten Laufwerk muß ausreichend "
"Speicherplatz zur Verfügung stehen, d.h. ca. 140 KByte.\n\n"
)
(default "SYS:Lotto")
)
)
(if
(= (exists @default-dest) 0) (makedir @default-dest)
)
)
)
(set @default-fontdir
(askdir
(prompt "Bitte wählen Sie das Verzeichnis, in dem "
"die Zeichensätze installiert werden sollen\n"
)
(help
"Sie müssen für die Installation das Verzeichnis "
"festlegen, in dem das Programm Lotto "
"später seine Zeichensätze finden kann.\n\n"
)
(default "FONTS:")
)
)
(if
(= (exists @default-fontdir) 0) (makedir @default-fontdir)
)
(onerror
)
(if (= harddisk 1)
(
(set sourcefile ":Schatztruhe/Lotto/Lotto_V2.3")
(if
(= (exists sourcefile) 0)
(abort ("Es trat ein Fehler beim Kopieren der Datei %s auf. Die Installation wird abgebrochen" (tackon sourcedir thisfile)))
)
(copyfiles
(prompt "" )
(help "")
(source sourcefile)
(dest @default-dest))
(complete 30)
(set sourcefile ":Schatztruhe/Lotto/Lotto_V2.3.info")
(if
(= (exists sourcefile) 0)
(abort ("Es trat ein Fehler beim Kopieren der Datei %s auf. Die Installation wird abgebrochen" (tackon sourcedir thisfile)))
)
(copyfiles
(prompt "" )
(help "")
(source sourcefile)
(dest @default-dest))
(complete 35)
(set sourcefile ":Schatztruhe/Lotto/Lotto_V23.data")
(if
(= (exists sourcefile) 0)
(abort ("Es trat ein Fehler beim Kopieren der Datei %s auf. Die Installation wird abgebrochen" (tackon sourcedir thisfile)))
)
(copyfiles
(prompt "" )
(help "")
(source sourcefile)
(dest @default-dest))
(complete 40)
(set steuerfontdir (tackon @default-dest "Mittwoch"))
(if
(= (exists steuerfontdir) 0)
(makedir steuerfontdir)
)
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/01") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/02") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/03") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/04") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/05") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/06") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/07") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/08") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/09") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/10") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/11") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/12") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/13") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/14") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/15") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/16") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/17") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/18") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/19") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/20") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/21") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/22") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/23") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/24") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/25") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/26") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/27") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/28") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/29") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/30") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/31") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/32") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/33") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/34") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/35") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/36") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/37") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/38") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/39") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/40") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/41") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/42") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/43") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/44") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/45") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/46") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/47") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/48") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/49") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/50") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/51") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/52") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/MITTWOCH/53") (dest steuerfontdir))
(complete 65)
(set steuerfontdir (tackon @default-dest "Samstag"))
(if
(= (exists steuerfontdir) 0)
(makedir steuerfontdir)
)
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/01") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/02") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/03") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/04") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/05") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/06") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/07") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/08") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/09") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/10") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/11") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/12") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/13") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/14") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/15") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/16") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/17") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/18") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/19") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/20") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/21") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/22") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/23") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/24") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/25") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/26") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/27") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/28") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/29") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/30") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/31") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/32") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/33") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/34") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/35") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/36") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/37") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/38") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/39") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/40") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/41") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/42") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/43") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/44") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/45") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/46") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/47") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/48") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/49") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/50") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/51") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/52") (dest steuerfontdir))
(copyfiles (prompt "" ) (help "") (source ":Schatztruhe/Lotto/SAMSTAG/53") (dest steuerfontdir))
(complete 90)
)
)
(if
(= 0 (exists ":Schatztruhe/Lotto/fonts/Lotto.font"))
(abort ("Es trat ein Fehler beim Kopieren der Datei %s auf. Die Installation wird abgebrochen" thisfile))
)
(if
(= 0 (exists ":Schatztruhe/Lotto/fonts/Lotto/7"))
(abort ("Es trat ein Fehler beim Kopieren der Datei %s auf. Die Installation wird abgebrochen" thisfile))
)
(copyfiles
(prompt "" )
(help "")
(source ":Schatztruhe/Lotto/fonts/Lotto.font")
(dest @default-fontdir)
)
(set steuerfontdir (tackon @default-fontdir "Lotto"))
(if
(= (exists steuerfontdir) 0)
(makedir steuerfontdir)
)
(copyfiles
(prompt "" )
(help "")
(source ":Schatztruhe/Lotto/fonts/Lotto/7")
(dest steuerfontdir)
)
(complete 100)